home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SPRMTV01.ZIP / PROMPT.PPE (.txt) < prev   
PCBoard Programming Language Executable  |  1995-06-23  |  1KB  |  111 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     String   STRING001
  21.     String   STRING002
  22.  
  23. ;------------------------------------------------------------------------------
  24.  
  25.     STRING001 = ""
  26.     STRING002 = "@X08[@X0F@TIMELEFT@ @X07mins@X08] @X0D@CONFNAME@ @X08[@X0F?@X08/@X0FH@X08/@X0FX@X08]: "
  27.     Print STRING002
  28.     INTEGER001 = GetY()
  29.     While ((STRING001 == "") || (STRING001 == Chr(13))) Do
  30.         STRING001 = Upper(Inkey())
  31.         If (STRING001 == "X") Gosub LABEL001
  32.         If (STRING001 == "H") Gosub LABEL002
  33.     EndWhile
  34.     Goto LABEL003
  35.     :LABEL001
  36.     AnsiPos 1, INTEGER001
  37.     ClrEol
  38.     STRING001 = ""
  39.     InputText "@X08[@X0F@TIMELEFT@ @X07mins@X08] @X04Other Cmd: _", STRING001, 4, 64
  40.     AnsiPos 1, INTEGER001
  41.     ClrEol
  42.     If (STRING001 == "") Print STRING002
  43.     Return
  44.     :LABEL002
  45.     AnsiPos 1, INTEGER001
  46.     ClrEol
  47.     Print "@X08-[@X0FHELP@X08] @X04Hit a menu hotkey, ? for redisplay, or X for NO HOTKEY Prompt @X08[@X0FENTER@X08]"
  48.     While ((Inkey() <> Chr(13))) Print ""
  49.     AnsiPos 1, INTEGER001
  50.     ClrEol
  51.     Print STRING002
  52.     STRING001 = ""
  53.     Return
  54.     :LABEL003
  55.     PrintLn "@X0F" + STRING001
  56.     Delay 1
  57.     If (STRING001 == "?") Then
  58.         KbdStuff "MENU"
  59.     Else
  60.         KbdStuff STRING001 + Chr(13)
  61.     Endif
  62.  
  63. ;------------------------------------------------------------------------------
  64. ;
  65. ; Usage report (before postprocessing)
  66. ;
  67. ; ■ Statements used :
  68. ;
  69. ;    4       ClrEol
  70. ;    6       Goto 
  71. ;    6       Let 
  72. ;    5       Print 
  73. ;    1       PrintLn 
  74. ;    6       If 
  75. ;    2       Gosub 
  76. ;    2       Return
  77. ;    1       Delay 
  78. ;    1       InputText 
  79. ;    2       KbdStuff 
  80. ;    4       AnsiPos 
  81. ;
  82. ;
  83. ; ■ Functions used :
  84. ;
  85. ;    2       +
  86. ;    6       ==
  87. ;    1       <>
  88. ;    2       !
  89. ;    1       ||
  90. ;    1       Upper()
  91. ;    3       Chr()
  92. ;    2       Inkey()
  93. ;    1       GetY()
  94. ;
  95. ;------------------------------------------------------------------------------
  96. ;
  97. ; Analysis flags : No flag
  98. ;
  99. ;------------------------------------------------------------------------------
  100. ;
  101. ; Postprocessing report
  102. ;
  103. ;    0       For/Next
  104. ;    1       While/EndWhile
  105. ;    1       If/Then or If/Then/Else
  106. ;    0       Select Case
  107. ;
  108. ;------------------------------------------------------------------------------
  109. ;                 AEGiS Corp - Break the routines, code against the machines!
  110. ;------------------------------------------------------------------------------
  111.